﻿<UserControl x:Class="QuickMail.View.Controls.SendControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="400"
             FontSize="14"
             FontWeight="DemiBold">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="130"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0" x:Name="SubjectTextBlock" Text="Subject:" Margin="5,0,0,8" 
                   VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
        <TextBox Grid.Row="0" Grid.Column="1" Margin="5" x:Name="SubjectTextBox"/>

        <TextBlock Grid.Row="1" Grid.Column="0" x:Name="MailToTextBlock" Text="To:" Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <TextBox Grid.Row="1" Grid.Column="1" Margin="5" x:Name="MailToTextBox"/>

        <TextBlock Grid.Row="2" Grid.Column="0" x:Name="FileTypesTextBlock" Text="File types:" Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <TextBox Grid.Row="2" Grid.Column="1" Margin="5" x:Name="FilesTypesTextBox" />

        <TextBlock Grid.Row="3" Grid.Column="0" x:Name="MessageTextBlock" Text="Message text:" Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <!--<CheckBox Grid.Row="3" Grid.Column="1" x:Name="MessageFromFileCheckBox" 
                  Content="Receive from text documents (txt)" Margin="5"
                  Unchecked="MessageFromFileCheckBox_OnUnchecked" 
                  Checked="MessageFromFileCheckBox_OnChecked"/>-->
        <TextBox Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" 
                 x:Name="MessageTextBox" AcceptsReturn="True"/>
    </Grid>
</UserControl>
